﻿@model Project.Models.Registrar

@{
    ViewBag.Title = "MisDatos";
    Layout = "~/Views/Shared/_LayoutSingIn1.cshtml";
}

 

<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)
    <fieldset>
        <legend>Actualizar mis datos personales</legend>
       
       

        <div class="editor-label">
            @Html.LabelFor(model => model.nombre,"Nombre")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.nombre)
            @Html.ValidationMessageFor(model => model.nombre)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.telefono, "Telefono")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.telefono)
            @Html.ValidationMessageFor(model => model.telefono)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.celular, "Celular")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.celular)
            @Html.ValidationMessageFor(model => model.celular)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.NombreEmpresa, "Nombre de la Empresa")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.NombreEmpresa)
            @Html.ValidationMessageFor(model => model.NombreEmpresa)
        </div>
         <div class="editor-label">
            @Html.LabelFor(model => model.celular, "Logo de la Empresa.")
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LogoEmpresa)
            @Html.ValidationMessageFor(model => model.LogoEmpresa)
        </div>

        
        
         

        <p>
            <br />  
            <input type="submit" value="Actualizar" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("<-- Volver", "Configuracion")
</div>
